package com.hk.core.data.r2dbc.domain;

import com.hk.core.data.r2dbc.annotations.TenantId;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.relational.core.mapping.InsertOnlyProperty;

/**
 * @author kevin
 * @date 2019-7-2 16:59
 */
@Getter
@Setter
public abstract class AbstractTenantSnowflakeAuditable extends AbstractSnowflakeAuditable {

    @TenantId
    @InsertOnlyProperty
    private String tenantId;

}
